#include "StdAfx.h"
#include "ListeningSocket.h"

CListeningSocket::CListeningSocket(void)
{
}

CListeningSocket::~CListeningSocket(void)
{
}

CListeningSocket::CListeningSocket(CChatRoomServer* pDlg)
{
	m_pDlg = pDlg;
}

void CListeningSocket::OnAccept(int nErrorCode)
{
	CSocket::OnAccept(nErrorCode);
	m_pDlg->OnAccept();
}
